import { createApp, defineCustomElement } from 'vue'
import './style.css'
import App from './App.vue'
import components from "@/components"
import VaPrimeVue from "@va/primevue"
import 'primeicons/primeicons.css'
import 'virtual:svg-icons-register';
import 'virtual:uno.css';
import { setupPrimeVue } from "./plugins"
import setupFramework from "@va/framework"
import happyKitRouter from "@/router"

(()=>{
    const app = createApp(App);
    setupPrimeVue(app)
    setupFramework(app)
    // customElements.define("code-input",CodeInput)
    // defineCustomElement();
    app.use(happyKitRouter);
    app.use(VaPrimeVue);
    app.use(components);
    console.log(app._context.components)
    app.mount('#app')
})();